fixdep: Allow overriding HOSTCC and HOSTLD
authorBen Hutchings <benh@debian.org>
Sat, 13 May 2023 11:03:26 +0000 (13:03 +0200)
committerBen Hutchings <benh@debian.org>
Sun, 4 Aug 2024 20:10:58 +0000 (22:10 +0200)
commit129ea55c1253762cddaa1454dbabc7b6a44f2d1f
treedb259c4b7d208fb69e53e9ba27a1163576ef7f67
parente7c195a41bccc8dbc54c3d453a389f0be5910a7b
fixdep: Allow overriding HOSTCC and HOSTLD

Forwarded: not-needed

objtool always uses HOSTCC, HOSTLD, and HOSTAR, so we need to override
these on the command line for cross-builds of linux-kbuild.  But it
also builds fixdep which still needs to be native in a cross-build.
Add support for REALHOSTCC and REALHOSTLD variables which, if set,
override HOSTCC and HOSTLD for fixdep only.

Gbp-Pq: Topic debian
Gbp-Pq: Name fixdep-allow-overriding-hostcc-and-hostld.patch
tools/build/Makefile.include